package com.chixing.day05_oop.static_demo;

public class StaticTest {
    public static void main(String[] args) throws ClassNotFoundException {
        // 类加载 class load
        Class.forName("com.chixing.day05_oop.static_demo.Product");
        System.out.println(Product.platForm);
        // 实例化对象
        new Product();

//        Product p1 = new Product();
//        p1.proNo = 9001;
//        p1.proName = "卫龙辣条";
//        p1.proPrice = 5.5f;
//
//        Product p2 = new Product();
//        p2.proNo = 2;
//        p2.proName = "乐事薯片";
//        p2.proPrice = 6.5f;
    }
}
